#include "json.h"
#include <stdio.h>

int main()
{
    cJSON *jdata = cJSON_CreateObject();
	//cJSON_AddItemToObject(jdata_chat_log, "datas", jdata_chat_log_array);
	cJSON_AddItemToObject(jdata, "string", cJSON_CreateString("cjson"));
	cJSON_AddItemToObject(jdata, "int", cJSON_CreateNumber(100));
	cJSON_AddItemToObject(jdata, "TRUE", cJSON_CreateTrue());
	cJSON_AddItemToObject(jdata, "FALSE", cJSON_CreateFalse());

	char *ret = cJSON_Print(jdata);

    printf("print json\n");
    printf("%s\n", ret);
}